﻿<%@ Page Language="C#" MasterPageFile="~/MasterPage.master" AutoEventWireup="true" CodeFile="DangKy.aspx.cs" Inherits="DangKy" Title="Untitled Page" %>
<asp:Content ID="Content1" ContentPlaceHolderID="ContentPlaceHolder1" Runat="Server">
<div id="signup">
    <div id="content" class="signup-box">
        <div class="box">
            <div class="box-top"></div>
            <div class="box-content">
                <div class="head"><h2>Đăng ký</h2></div>
                <div class="sect">
                    <form id="signup-user-form" method="post" action="/user/sign-up.html" class="validator">
                        <div class="field email">
                            <label for="signup-email-address">Email</label>
                            <input type="text" size="30" name="email" id="signup-email-address" class="f-input" value="" require="true" datatype="email|ajax" url="/ajax/validator.php" vname="signupemail" msg="Email incorrect format | Email has already been registered" /> 
                            <span class="hint">Vui lòng nhập chính xác địa chỉ email, thông tin này giúp bạn đăng nhập vào hệ thống, và reset mật khẩu khi cần thiết.</span>
                        </div>
                        <div class="field password">
                            <label for="signup-password">Mật khẩu</label>
                            <input type="password" size="30" name="password" id="signup-password" class="f-input" require="true" datatype="require" />
                            <span class="hint">Tối thiểu 6 kí tự.</span>
                        </div>
                        <div class="field password">
                            <label for="signup-password-confirm">Nhập lại mật khẩu</label>
                            <input type="password" size="30" name="password2" id="signup-password-confirm" class="f-input" require="true" datatype="compare" compare="signup-password" />
                        </div>
                         <!-- start bo xung -->
                        <div class="field realname">
                            <label for="signup-username">Họ tên.</label>
                            <input type="text" size="30" name="realname" id="signup-username" class="f-input" value="" datatype="limit|ajax" require="true" min="2" max="50" maxLength="50" url="{WEB_ROOT}/ajax/validator.php" vname="signupname" msg="|" />
                            <span class="hint">4-16 ký tự.</span>
                        </div>
                        <div class="field tel">
                            <label for="signup-username">Số điện thọai</label>
                            <input type="text" size="30" name="mobile" id="signup-tel" class="f-input" value="" datatype="limit|ajax" require="true" min="2" max="16" maxLength="16" url="{WEB_ROOT}/ajax/validator.php" vname="signupname" msg="|" />
                            <span class="hint">4-16 ký tự.</span>
                        </div>
                        <!-- end bo xung -->						
						 <div class="field subscribe">
                            <input tabindex="3" type="checkbox" value="1" name="subscribe" id="subscribe" class="f-check" checked="checked" />
                            <label for="subscribe">Nhận thông tin sản phẩm mới mổi ngày</label>
                        </div>
                        <div class="act">
                            <input type="submit" value="Đăng ký" name="commit" id="signup-submit" class="formbutton"/>
                        </div>
                    </form>
                </div>
            </div>
            <div class="box-bottom"></div>
        </div>
    </div>
    <div id="sidebar">
        <div class="sbox">
            <div class="sbox-top"></div>
            <div class="sbox-content">
                <div class="side-tip">
                    <h2>Đã có tài khoản?</h2>
                    <p><a href="DangNhap.aspx">Đăng nhập ngay!</a></p>
                </div>
            </div>
            <div class="sbox-bottom"></div>
        </div>
    </div>
</div>
</asp:Content>

